.class Lcom/TwinBlade/PicturePassword/h;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/text/TextWatcher;


# instance fields
.field final synthetic a:Lcom/TwinBlade/PicturePassword/e;


# direct methods
.method constructor <init>(Lcom/TwinBlade/PicturePassword/e;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    .line 316
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0
    .parameter

    .prologue
    .line 319
    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 322
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 3
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 326
    :try_start_0
    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "#"

    const-string v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    .line 327
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x6

    if-eq v1, v2, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    const/16 v2, 0x8

    if-ne v1, v2, :cond_1

    .line 328
    :cond_0
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    invoke-static {v1, v0}, Lcom/TwinBlade/PicturePassword/e;->a(Lcom/TwinBlade/PicturePassword/e;Ljava/lang/String;)I

    move-result v0

    .line 329
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/e;->b(Lcom/TwinBlade/PicturePassword/e;)Lcom/TwinBlade/PicturePassword/i;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/TwinBlade/PicturePassword/i;->a(I)V

    .line 330
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/e;->a(Lcom/TwinBlade/PicturePassword/e;)Lcom/TwinBlade/PicturePassword/j;

    move-result-object v1

    invoke-interface {v1, v0}, Lcom/TwinBlade/PicturePassword/j;->b(I)V

    .line 331
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/e;->c(Lcom/TwinBlade/PicturePassword/e;)Landroid/widget/SeekBar;

    move-result-object v1

    invoke-static {v0}, Landroid/graphics/Color;->alpha(I)I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 332
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/h;->a:Lcom/TwinBlade/PicturePassword/e;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/e;->b(Lcom/TwinBlade/PicturePassword/e;)Lcom/TwinBlade/PicturePassword/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/TwinBlade/PicturePassword/i;->invalidate()V
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    .line 337
    :cond_1
    :goto_0
    return-void

    .line 335
    :catch_0
    move-exception v0

    goto :goto_0
.end method
